package cn.etgps.etgps.dataEntity;

import com.j256.ormlite.field.DatabaseField;

import java.io.Serializable;

/**
 * The parent class of the object which used to create table by ORMLite. All
 * objects which used to create table by ORMLite must extends this class
 *
 * @author nicky.han
 */
public class Model implements Serializable {
    private static final long serialVersionUID = 1L;
    @DatabaseField(generatedId = true, useGetSet = true, columnName = DataBaseEntity.ID)
    protected int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
